﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Root.Master" Inherits="System.Web.Mvc.ViewPage<HomepageViewModel>" %>
<%@ Import Namespace="ASPItalia.ModelVirtualCasting" %>
<%@ Import Namespace="ASPItalia.ModelVirtualCasting.Web.Models" %>
<%@ Import Namespace="ASPItalia.ModelVirtualCasting.Web.Utils" %>

<asp:Content ID="indexTitle" ContentPlaceHolderID="TitleContent" runat="server">Home Page</asp:Content>

<asp:Content ID="indexContent" ContentPlaceHolderID="MainContent" runat="server">

	<div id="content_home">
		<h2>Benvenuto in ModelVirtualCasting! La tua agenzia di modelle preferita!</h2>
    
		<%-- Smarter version of Index --%>
		<% Html.RenderPartial("modelsCarousel"); %>
		<% Html.RenderPartial("NewsPanel", Model.News); %>
	</div>

	<div class="homeCatalog">
		<% Html.RenderPartial("ModelsPanel", this.Model.Models); %>
	</div>

</asp:Content>